package com.daoeping.service.impl;

import java.util.List;

import com.daoeping.dao.Usr_workexperienceDAO;
import com.daoeping.data.Usr_workexperience;
import com.daoeping.service.Usr_workexperienceService;

public class Usr_workexperienceServiceImpl implements Usr_workexperienceService {
	
	private Usr_workexperienceDAO usr_workexperienceDAO;
	
	public Usr_workexperienceDAO getUsr_workexperienceDAO() {
		return usr_workexperienceDAO;
	}

	public void setUsr_workexperienceDAO(Usr_workexperienceDAO usr_workexperienceDAO) {
		this.usr_workexperienceDAO = usr_workexperienceDAO;
	}

	@Override
	public boolean addUsr_workexperience(Usr_workexperience usr_workexperience) {
		// TODO Auto-generated method stub
		return this.usr_workexperienceDAO.insertData(usr_workexperience);
	}

	@Override
	public boolean editUsr_workexperience(Usr_workexperience usr_workexperience) {
		// TODO Auto-generated method stub
		return this.usr_workexperienceDAO.updateData(usr_workexperience);
	}

	@Override
	public boolean delUsr_workexperience(Usr_workexperience usr_workexperience) {
		// TODO Auto-generated method stub
		return this.usr_workexperienceDAO.deleteData(usr_workexperience);
	}

	@Override
	public List<Usr_workexperience> findUsr_workexperienceList() {
		// TODO Auto-generated method stub
		return this.usr_workexperienceDAO.findUsr_workexperienceList();
	}

	@Override
	public List<Usr_workexperience> findUsr_workexperienceById(int id) {
		// TODO Auto-generated method stub
		return this.usr_workexperienceDAO.findUsr_workexperienceById(id);
	}

	@Override
	public List<Usr_workexperience> findUsr_workexperienceByUserId(int user_id) {
		// TODO Auto-generated method stub
		return this.usr_workexperienceDAO.findUsr_workexperienceByUserId(user_id);
	}

}
